<?php
require_once 'global.php';

$view = 'items/taglist.brand.html';

if ($_SERVER['PATH_INFO']) {
    $data = explode("/", $_SERVER['PATH_INFO']);
    $_REQUEST['name']= urldecode($data[1]);
    $_REQUEST['xml'] = trim($data[2]);
    if ($_REQUEST['xml'] == 'xml') $view = 'xml/tag.xml';
}

$Controller =& getController('items');
$View = $Controller->getView('tagsList');
$View->display($view);
?>